﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="ChangePwd.aspx.cs" Inherits="ChangePwd" Title="密码修改" StylesheetTheme="SkinFile" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table align="center" bgcolor="#cccccc" border="0" cellpadding="5" cellspacing="1"
        style="font-size: 12px; line-height: 2" width="100%">
        <tr>
            <td align="left" bgcolor="#ffffff" class="pad" colspan="2" style="height: 48px" valign="bottom">
                <img src="images/customers.gif" />密码修改</td>
        </tr>
        <tr>
            <td align="right" bgcolor="#ffffff" class="pad">
                用户名：</td>
            <td bgcolor="#ffffff" class="pad">
                <asp:Label ID="Label1" runat="server" Text="Label" Width="146px"></asp:Label></td>
        </tr>
        <tr>
            <td align="right" bgcolor="#ffffff" class="pad">
                密码：</td>
            <td bgcolor="#ffffff" class="pad">
                &nbsp;<asp:TextBox ID="pwd" runat="server" CssClass="reg" TextMode="Password"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="pwd"
                    ErrorMessage="*"></asp:RequiredFieldValidator>字母或数字<asp:RegularExpressionValidator
                        ID="RegularExpressionValidator1" runat="server" ControlToValidate="pwd" ErrorMessage="格式不对"
                        ValidationExpression="^[A-Za-z0-9_]{1,20}$"></asp:RegularExpressionValidator></td>
        </tr>
        <tr>
            <td align="right" bgcolor="#ffffff" class="pad">
                确认密码：</td>
            <td bgcolor="#ffffff" class="pad">
                &nbsp;<asp:TextBox ID="pwd1" runat="server" CssClass="reg" TextMode="Password"></asp:TextBox>&nbsp;
                <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="pwd"
                    ControlToValidate="pwd1" ErrorMessage="两次密码不一样"></asp:CompareValidator></td>
        </tr>
        <tr>
            <td bgcolor="#ffffff" class="pad">
                <br />
            </td>
            <td bgcolor="#ffffff" class="pad">
                &nbsp;
                <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="修改" Width="76px" />
                <asp:Button ID="Button2" runat="server" CausesValidation="False" OnClick="Button2_Click"
                    Text="取消" Width="74px" /></td>
        </tr>
    </table>
</asp:Content>

